/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package algorithm.bestFirstSearch_4Q;

import library.Tracer;

/**
 * 
 * @author chenwei767
 */
class MainClass {

	public static void main(String[] args) {
		Best_FS bestfs = new Best_FS();

		// create 4 by 4 chess board
		// depth is 0
		Nodecb node = new Nodecb(4, 0);

		node.board[0][1] = true;
		node.board[1][0] = true;
		node.board[2][2] = true;
		node.board[3][1] = true;
		node.initActualCost();

		node.disp();
		Tracer.debug(node.heuristic);
		Nodecb nodeRet = bestfs.find(node);
		Tracer.debug("=====================");
		nodeRet.disp();
		Tracer.debug(nodeRet.heuristic);
	}
}
